<?php

namespace app\admin\controller;

use think\App;
use think\Controller;

class ErrorController extends Controller
{
    public function __construct(App $app = null)
    {
        return $this->fetch(config('app.exception_tmpl'));
    }

    public function index()
    {
        return $this->fetch(config('app.exception_tmpl'));
    }
}